import legacy from '@vitejs/plugin-legacy'
const createLegacy = () => {
  return legacy({
    targets: ['defaults', 'not IE 11'],
  })
}
export default createLegacy
